﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>考勤系统</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<link rel="stylesheet" type="text/css"
	href="<%=path%>/jquery-easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="<%=path%>/jquery-easyui/themes/icon.css">
<script type="text/javascript"
	src="<%=path%>/jquery-easyui/jquery-1.8.0.js"></script>
<script type="text/javascript"
	src="<%=path%>/jquery-easyui/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="<%=path%>/js/jquery.json-2.4.js"></script>
<script type="text/javascript">
	function onSelect(title, index) {
		var tabs = $('#tabs');
		var tab = tabs.tabs('getTab', title);
		var options = tab.panel('options');
		if (options.content || !options.action) {
			return;
		}

		var path = '${pageContext.request.contextPath}';
		var content = '<iframe scrolling="yes" frameborder="0" src="' + path
				+ '/' + options.action
				+ '/index/" style="width:100%;height:100%;"></iframe>';
		tabs.tabs('update', {
			tab : tab,
			options : {
				content : content
			}
		});
	}
</script>
</head>

<body class="easyui-layout">
	<div data-options="region:'center'">
		<div id="tabs" class="easyui-tabs"
			data-options="fit:true,tabPosition:'left',onSelect:onSelect">
			<div title="刷脸记录查询" style="padding:10px" data-options="action:'card'"></div>
			<div title="节假日设置" style="padding:10px"
				data-options="action:'holiday'"></div>
			<div title="额定人数设置" style="padding:10px"
				data-options="action:'company'"></div>
			<div title="员工管理" style="padding:10px" data-options="action:'user'"></div>
			<div title="月考勤查询" style="padding:10px"
				data-options="action:'monthwork'"></div>
			<div title="特殊考勤" style="padding:10px"
				data-options="action:'special'"></div>
			<div title="请假管理" style="padding:10px" data-options="action:'leave'"></div>
			<div title="时间段管理" style="padding:10px"
				data-options="action:'worktime'"></div>
			<div title="班次管理" style="padding:10px"
				data-options="action:'schedule'"></div>
			<div title="特殊班次管理" style="padding:10px"
				data-options="action:'departmentschedule'"></div>
			<div title="月电子考勤统计表" style="padding:10px"
				data-options="action:'monthsum'"></div>
			<div title="员工刷脸统计表" style="padding:10px"
				data-options="action:'cardrecord'"></div>
		</div>
	</div>
</body>
</html>